package com.imm.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.imm.common.Result;
import com.imm.pojo.AddressBook;
import com.imm.pojo.ShoppingCart;

import java.util.List;

public interface IAddressBookService extends IService<AddressBook> {
    Result<List<AddressBook>> listAddress(AddressBook addressBook);

    Result<String> insert(AddressBook addressBook);

    Result<String> defalut(AddressBook addressBook);

    Result<AddressBook> defalut();

    Result<AddressBook> findOne(Long id);

    Result<String> updateAddressBook(AddressBook addressBook);

    Result<String> delete(Long[] ids);
}
